package com.ruoyi.loan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.loan.entity.Image;
import com.ruoyi.loan.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author: 廖振辉
 * Date: 2022/4/5
 * Description:
 */
public interface ImageMapper extends BaseMapper<Image> {

    /**
     * 根据贫困申请id和图片组id更新图片
     * @param imageIds
     * @param id
     * @return
     */
    int updateImagekeyId(@Param("imageIds") List<Integer> imageIds,
                         @Param("id") Integer id);
}
